From fb0f454af508f46f58b0d0175809542761d15b17 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 30 May 1993 20:52:49 +0000 Subject: [PATCH] (buffer_posn_from_coords): Since COL is already window-relative, don't subtract window_left. --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispnew.c b/src/dispnew.c index 4dde895240b..e9c7521494a 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1231,7 +1231,7 @@ buffer_posn_from_coords (window, col, line) posn = compute_motion (startp, 0, (window == XWINDOW (minibuf_window) && startp == 1 ? minibuf_prompt_width : 0), - ZV, line, col - window_left, + ZV, line, col, window_width, XINT (window->hscroll), 0); current_buffer = old_current_buffer; -- 2.30.2